// 该文件专门为Count组件生成action对象

import {DECREMENT,INCREMENT} from './constent'

export const createIncrementAction= (data)=>{
    return {type:INCREMENT,data}
}
export const createDecrementAction= (data)=>({type:DECREMENT,data})